package com.shop2cn.iapi.agentproducts.parameter;

import java.math.BigDecimal;
import java.util.List;

public class OpenCatalogDto {
	/**
	 * 条形码
	 */
	private String barcode;
    /**
     * 规格编号
     */
    private String catalogId;

    /**
     * 外部商品编码
     */
    private String outerSku;

    /**
     * 进货价（供应商商品价格）
     */
    private BigDecimal buyingPrice;

    /**
     * 进货币种（供应商商品定价币种）目前都是 CNY
     */
    private String buyingCurrency = "CNY";

    /**
     * 售价
     */
    private BigDecimal salePrice;

    /**
     * 售价币种 目前都是 CNY
     */
    private String saleCurrency = "CNY";

    /**
     * 是否启用
     */
    private boolean enable;

    /**
     * 库存数量
     */
    private int stockNum;

    /**
     * 规格重量 目前都是 0
     */
    private BigDecimal weight = BigDecimal.ZERO;

    /**
     * 重量单位（公斤、磅） 目前都是 0
     */
    private int weightUnit;

    /**
     * 扩充信息
     */
    private String extraInfo;

    /**
     * SKU属性信息列表
     */
    private List<CatalogPropertyDto> catalogPropertyList;

    public String getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    public String getOuterSku() {
        return outerSku;
    }

    public void setOuterSku(String outerSku) {
        this.outerSku = outerSku;
    }

    public BigDecimal getBuyingPrice() {
        return buyingPrice;
    }

    public void setBuyingPrice(BigDecimal buyingPrice) {
        this.buyingPrice = buyingPrice;
    }

    public String getBuyingCurrency() {
        return buyingCurrency;
    }

    public void setBuyingCurrency(String buyingCurrency) {
        this.buyingCurrency = buyingCurrency;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }
    

    public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public String getSaleCurrency() {
        return saleCurrency;
    }

    public void setSaleCurrency(String saleCurrency) {
        this.saleCurrency = saleCurrency;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public int getStockNum() {
        return stockNum;
    }

    public void setStockNum(int stockNum) {
        this.stockNum = stockNum;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public int getWeightUnit() {
        return weightUnit;
    }

    public void setWeightUnit(int weightUnit) {
        this.weightUnit = weightUnit;
    }

    public String getExtraInfo() {
        return extraInfo;
    }

    public void setExtraInfo(String extraInfo) {
        this.extraInfo = extraInfo;
    }

    public List<CatalogPropertyDto> getCatalogPropertyList() {
        return catalogPropertyList;
    }

    public void setCatalogPropertyList(List<CatalogPropertyDto> catalogPropertyList) {
        this.catalogPropertyList = catalogPropertyList;
    }
}
